<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="/js/axios.min.js"></script>
    <script src="/js/util.js"></script>
    <script src="/js/reply.js"></script>
</head>
<body>
<h1>回帖</h1>
<div style="border-style: solid;border-width: 1px">
    <h3 style="margin: 0;display: inline-block">主题:</h3>
    <span id="titleSpan"></span>
    <h3 style="margin: 0;display: inline-block">发帖日期:</h3>
    <span id="date"></span><br>

    楼主：<span id="nameSpan"></span><br>
    <img id="img" src="" width="30px" height="30px"><br>
    注册日期：<span id="time"></span><br>


    <table border="1" width="50%" cellspacing="0">
        <thead>
        <tr>
            <th>回帖标题</th>
            <th>内容</th>
            <th>回帖人</th>
            <th>回帖时间</th>
            <th>头像</th>
        </tr>
        </thead>
        <tbody id="data"></tbody>
    </table>
</div>

<div>
    <h1>回复帖子</h1>
    <div style="width: 300px;height: 200px;font-weight: bold" >
        <form>
            标题：<input type="text" id="title" ><br><br>
            内容：<textarea id="content" style="width: 400px; height: 250px; resize: none;"></textarea><br><br>
            <button type="button"  value="发表" onclick="add()">发表</button>
            <button type="reset" >重置</button>
            <button type="button"  value="返回" onclick="back()">返回</button>
        </form>
    </div>
    <h3 id="errorDiv" style="color: green"></h3>
</div>

</body>
</html>